home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
483
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
1KB
Path: csun.edu!hbmus009
From: hbmus009@csun.edu (christopher johnson)
Newsgroups: comp.std.c,comp.lang.c,comp.lang.basic.visual.misc
Subject: Re: DLLs
Followup-To: comp.std.c,comp.lang.c,comp.lang.basic.visual.misc
Date: 2 Mar 1996 21:18:57 GMT
Organization: California State University, Northridge
Message-ID: <4hae01$9id@dewey.csun.edu>
References: <NEWTNews.825739945.5620.david@baldar.abs.net>
NNTP-Posting-Host: louie.csun.edu
X-Newsreader: TIN [version 1.2 PL2]
david@baldar.abs.net wrote:
> Are there any good references out there on writing DLLs? I just got MS C++
> 4.0. Writing the .c is easy. But the .def and .mak still eludes me (the
> online notes with MS C++ leave something to be desired). Any recommendations?
> Thanks.
> Dave
Documentation on writing DLLs is pretty easily come by at the bookstore.
I think most Visual C++ tutorial books should have a chapter or so on that.
As for the .def and .mak files, if version 4.0 is anything like earlier
versions, just go ahead and create a new project. When you have a chance
to change the Application type, make it a DLL, and then add all the code
files you need in your project. The framework takes care of creating a
.mak file for you. As for the .def file, if you don't add one to your
project, it should ask if you would like one automatically generated on
the first compile. Do so, and then tweak it to your needs.
Hope that wasn't just a pile of twaddle.
Chris Johnson
hbmus009@csun.edu